#include "FigureMap.h"
#include "Sington.h"
#include <QDebug>

int FigureMap::length() const
{
    return m_maps.size();
}

FigureMap *FigureMap::instance()
{
    return Sington<FigureMap>::getInstance();
}

const QString FigureMap::value(const ToolType key) const
{
    return m_maps[key];
}

void FigureMap::insert(const ToolType key, const QString &value)
{
    m_maps[key] = value;
}
